package com.schoolvisitors.dto;

import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
public class BorrowInstrumentFromListDto {

    @NotNull(message = "仪器ID不能为空")
    private Long instrumentId;

    @NotNull(message = "备注不能为空")
    @Size(max = 255, message = "备注不能超过255个字符")
    private String remark;

    @NotNull(message = "审核人ID不能为空")
    private Long reviewerId;

    @NotNull(message = "归还房间ID不能为空")
    private Long returnRoomId;
}